/**
 * 
 */
package cn.softTank.BpelModelImpl.PartnerLinkTypeImpl;

import cn.softTank.BpelModel.PartnerLinkType.MessageType;
import cn.softTank.BpelModel.PartnerLinkType.Operation;

/**
 * @author Yuzone (smartzxy@gmail.com)
 * 
 */
public class OperationImpl implements Operation {

	private String name;
	private String namespace;
	private MessageType inputType;
	private MessageType outputType;
	private MessageType faultType;

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.softTank.BpelModel.PartnerLinkType.Operation#getFaultType()
	 */
	@Override
	public MessageType getFaultType() {
		return faultType;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.softTank.BpelModel.PartnerLinkType.Operation#getInputType()
	 */
	@Override
	public MessageType getInputType() {
		return inputType;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.softTank.BpelModel.PartnerLinkType.Operation#getName()
	 */
	@Override
	public String getName() {
		return name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.softTank.BpelModel.PartnerLinkType.Operation#getNamespace()
	 */
	@Override
	public String getNameSpace() {
		return namespace;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.softTank.BpelModel.PartnerLinkType.Operation#getOutputType()
	 */
	@Override
	public MessageType getOutputType() {
		return outputType;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.softTank.BpelModel.PartnerLinkType.Operation#setFaultType(cn.softTank
	 * .BpelModel.PartnerLinkType.MessageType)
	 */
	@Override
	public void setFaultType(MessageType value) {
		faultType = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.softTank.BpelModel.PartnerLinkType.Operation#setInputType(cn.softTank
	 * .BpelModel.PartnerLinkType.MessageType)
	 */
	@Override
	public void setInputType(MessageType value) {
		inputType = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.softTank.BpelModel.PartnerLinkType.Operation#setName(java.lang.String)
	 */
	@Override
	public void setName(String value) {
		name = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.softTank.BpelModel.PartnerLinkType.Operation#setNamespace(java.lang
	 * .String)
	 */
	@Override
	public void setNameSpace(String value) {
		namespace = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.softTank.BpelModel.PartnerLinkType.Operation#setOutputType(cn.softTank
	 * .BpelModel.PartnerLinkType.MessageType)
	 */
	@Override
	public void setOutputType(MessageType value) {
		outputType = value;
	}

}
